package com.list_builder.comparators;

import java.util.Comparator;

import com.list_builder.Person;

public class LastNameComparator implements Comparator<Person> {

	@Override
	public int compare(Person o1, Person o2) {

		return -1 * (o1.getLastName().compareTo(o2.getLastName()));
	}

}
